Chief Chefs of Z to Alloy: Using a Kitchen Example to Teach Alloy with Z
نویسندگان
چکیده
Z is a well-defined and well-known specification language. Unfortunately, it takes significant expertise to use existing tools (such as theorem provers) to automatically check properties of Z specifications. Because Alloy is substantially similar to Z and the Alloy Analyzer offers a relatively simple method of model checking, we believe that Alloy should be largely employed in classes that teach Z. To this end, we present an online tutorial especially designed to help students transition from Z to Alloy. The tutorial includes both the classic Birthday Book example and a large real-world scenario based on a Kitchen Environment. Our experiences with novices studying the tutorial suggest that the tutorial helps students learn both Z and Alloy. In addition, novices can answer questions correctly about the approximately 500-line Kitchen Environment model after only a few hours of study.
منابع مشابه
A Comparison of Object Modelling Notations: Alloy, UML and Z
An example of an object model is given in full in three languages: Alloy, a new notation; Z, a formal specification language; and UML, a modelling notation popular in industry. Basic features of Alloy are explained informally, and briefly justified by comparison of the Alloy version to the UML and Z versions.
متن کاملCorrosion behavior of dissimilar welded joint between Inconel 617 alloy and A387-Gr.11 low-alloy steel
In this study, Inconel 617 alloy was welded to A387-Gr.11 low-alloy steel using ER309L filler metal via gas tungsten arc welding (GTAW). First, the corrosion behavior of Inconel 617, A387-Gr, and the weld metal was evaluated by the Tafel polarization test and electrochemical impedance spectroscopy (EIS) in acidic (H2SO4), neutral (NaCl), and combined (H2SO4 + NaCl) solution at ambient temperatu...
متن کاملCorrosion behavior of dissimilar welded joint between Inconel 617 alloy and A387-Gr.11 low-alloy steel
In this study, Inconel 617 alloy was welded to A387-Gr.11 low-alloy steel using ER309L filler metal via gas tungsten arc welding (GTAW). First, the corrosion behavior of Inconel 617, A387-Gr, and the weld metal was evaluated by the Tafel polarization test and electrochemical impedance spectroscopy (EIS) in acidic (H2SO4), neutral (NaCl), and combined (H2SO4 + NaCl) solution at ambient temperatu...
متن کاملInvestigation of the magnetic interactions in Co2FeAl alloy nanoparticles using FORC analysis
This paper demonstrates the results of the detailed studying of the magnetic behavior of Co2FeAl alloy nanoparticles synthesized through a co-precipitation method. First order reversal curves (FORCs) diagrams were used consequently. The obtained results showed that the prepared alloys consist of a mixture of the low-coercivity grains (Hc ~ 0), and interacting single-domain high-coercivity grain...
متن کاملEffect of Type of Surface Treatment and Adhesive System on Shear Bond Strength of Composite Resin to a Non-Precious Metal Alloy
Background and Aim: Fractured metal-ceramic restorations may be repaired with composite in some cases to postpone the fabrication of a new restoration. Knowledge about the bond strength can help predict the success rate of this treatment modality. The aim of this study was to assess the effect of two types of mechanical surface treatment of metal along with the use of different adhesive systems...
متن کامل